﻿/*-------------------------------------------------------------------------
* 命名空间: WaferSelectV3.Models/RecipeLevelBoxModel
* 类       名: RecipeLevelBoxModel
* 功      能:  TD
* 时      间:  2024-05-08 10:08:57
* 版      本:  V1.0
* 作      者:  Fioman
* 格      言:  Talk is cheap,show me the code ^_^
*-------------------------------------------------------------------------*/
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WaferSelectV3.Models
{
    public class RecipeLevelBoxModel : BindableBase
    {
        private int _level;
        private bool _isUsed;
        private string? _levelType;
        private string? _typeDescription;
        private string? _boxesInto;


        /// <summary>
        /// 检测等级
        /// </summary>
        public int Level
        {
            get { return _level; }
            set
            {
                _level = value;
                RaisePropertyChanged();
            }
        }


        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsUsed
        {
            get { return _isUsed; }
            set
            {
                _isUsed = value;
                RaisePropertyChanged();
            }
        }

        /// <summary>
        /// 等级类型
        /// </summary>
        public string? LevelType
        {
            get { return _levelType; }
            set
            {
                _levelType = value;
                RaisePropertyChanged();
            }
        }

        /// <summary>
        /// 类型描述
        /// </summary>
        public string? TypeDescription
        {
            get { return _typeDescription; }
            set
            {
                _typeDescription = value;
                RaisePropertyChanged();
            }
        }

        /// <summary>
        /// 对应的花篮编号,中间用逗号隔开,如果只有1个,就显示一个
        /// </summary>
        public string? BoxesInto
        {
            get { return _boxesInto; }
            set
            {
                _boxesInto = value;
                RaisePropertyChanged();
            }
        }

    }
}
